package cn.yanghx.pay.vo.feign.wechat.app.query;

import cn.yanghx.pay.vo.pay.query.QueryResult;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
 

import java.io.Serializable;
import java.util.List;

/**
 * 微信app支付查询返回信息
 *
 * @author: yanghx
 * @created: 2021/06/16 17:52
 */
@Data
public class WechatAppQueryResult implements QueryResult, Serializable {


    //("应用ID")
    @JsonProperty("appid")
    private String appId;

    //("直连商户号")
    @JsonProperty("mchid")
    private String mchId;

    //("商户订单号")
    @JsonProperty("out_trade_no")
    private String outTradeNo;

    //("微信支付订单号")
    @JsonProperty("transaction_id")
    private String transactionId;

    //("交易类型")
    @JsonProperty("trade_type")
    private String tradeType;

    //("交易状态")
    @JsonProperty("trade_state")
    private String tradeState;

    //("交易状态描述")
    @JsonProperty("trade_state_desc")
    private String tradeStateDesc;

    //("付款银行")
    @JsonProperty("bank_type")
    private String bankType;

    //("附加数据")
    @JsonProperty("attach")
    private String attach;

    //("支付完成时间")
    @JsonProperty("success_time")
    private String successTime;

    //("支付者信息")
    @JsonProperty("payer")
    private QueryPayer payer;

    //("订单金额信息，当支付成功时返回该字段。")
    @JsonProperty("amount")
    private QueryAmount amount;

    //("支付场景描述")
    @JsonProperty("scene_info")
    private QuerySceneInfo sceneInfo;

    //("优惠功能，享受优惠时返回该字段")
    @JsonProperty("promotion_detail")
    private List<QueryPromotionDetail> promotionDetail;

}













